package com.jy.bean;



import java.io.Serializable;
import java.util.List;

/**
 * @Describe:
 * @Package: com.jy.mobiledb.bean
 * @Author: sunshu
 * @Date: 2018/11/14/ 14:18
 * @Copyright: jingyou
 */


public class ResponseVechile implements Serializable {


    private List<Car> carList;
    private List<Rank> rankList;
    private List<Type> typeList;
//    public MobileDBException e;

    public ResponseVechile() {
    }

    public static class Car implements Serializable {
        public String brandCode; //品牌编码
        public String brandGrade; //品牌级别
        public String brandId; //品牌id
        public String brandName; //品牌名称
        public String commFlag; //国产进口标志
        public String factoryId; //修理厂id
        public String pinYin; //拼音查询

        private List<Rank> rankList;

        public List<Rank> getRankList() {
            return rankList;
        }

        public void setRankList(List<Rank> rankList) {
            this.rankList = rankList;
        }

        public String getBrandCode() {
            return brandCode;
        }

        public void setBrandCode(String brandCode) {
            this.brandCode = brandCode;
        }

        public String getBrandGrade() {
            return brandGrade;
        }

        public void setBrandGrade(String brandGrade) {
            this.brandGrade = brandGrade;
        }

        public String getBrandId() {
            return brandId;
        }

        public void setBrandId(String brandId) {
            this.brandId = brandId;
        }

        public String getBrandName() {
            return brandName;
        }

        public void setBrandName(String brandName) {
            this.brandName = brandName;
        }

        public String getCommFlag() {
            return commFlag;
        }

        public void setCommFlag(String commFlag) {
            this.commFlag = commFlag;
        }

        public String getFactoryId() {
            return factoryId;
        }

        public void setFactoryId(String factoryId) {
            this.factoryId = factoryId;
        }

        public String getPinYin() {
            return pinYin;
        }

        public void setPinYin(String pinYin) {
            this.pinYin = pinYin;
        }

        @Override
        public String toString() {
            return "Car{" +
                    "brandCode='" + brandCode + '\'' +
                    ", brandGrade='" + brandGrade + '\'' +
                    ", brandId='" + brandId + '\'' +
                    ", brandName='" + brandName + '\'' +
                    ", commFlag='" + commFlag + '\'' +
                    ", factoryId='" + factoryId + '\'' +
                    ", pinYin='" + pinYin + '\'' +
                    '}';
        }
    }

    public static class Rank implements Serializable {

        private String brandId;  //品牌id
        private String nameAs; //车系别名
        private String pinYin; //拼音查询
        private String rankCode; //车系编码
        private String rankId; //车系id
        private String rankName; //车系名称

        public String getBrandId() {
            return brandId;
        }

        public void setBrandId(String brandId) {
            this.brandId = brandId;
        }

        public String getNameAs() {
            return nameAs;
        }

        public void setNameAs(String nameAs) {
            this.nameAs = nameAs;
        }

        public String getPinYin() {
            return pinYin;
        }

        public void setPinYin(String pinYin) {
            this.pinYin = pinYin;
        }

        public String getRankCode() {
            return rankCode;
        }

        public void setRankCode(String rankCode) {
            this.rankCode = rankCode;
        }

        public String getRankId() {
            return rankId;
        }

        public void setRankId(String rankId) {
            this.rankId = rankId;
        }

        public String getRankName() {
            return rankName;
        }

        public void setRankName(String rankName) {
            this.rankName = rankName;
        }
    }

    public static class Type implements Serializable{

        private String typeId; // 车型id
        private String vehicleName; // 车型名称
        private String vehicleCode; //车型编码
        private String rankId; //车系id
        private String groupId; //组别编号
        private String vanAndDoors;  //厢式车门数   厢门数   1-三厢四门 2-三厢两门 3-两厢四门 4-两厢两门
        private String gradeId; // 车型等级
        private String gradeName; // 车型名称

        public String getTypeId() {
            return typeId;
        }

        public void setTypeId(String typeId) {
            this.typeId = typeId;
        }

        public String getVehicleName() {
            return vehicleName;
        }

        public void setVehicleName(String vehicleName) {
            this.vehicleName = vehicleName;
        }

        public String getVehicleCode() {
            return vehicleCode;
        }

        public void setVehicleCode(String vehicleCode) {
            this.vehicleCode = vehicleCode;
        }

        public String getRankId() {
            return rankId;
        }

        public void setRankId(String rankId) {
            this.rankId = rankId;
        }

        public String getGroupId() {
            return groupId;
        }

        public void setGroupId(String groupId) {
            this.groupId = groupId;
        }

        public String getVanAndDoors() {
            return vanAndDoors;
        }

        public void setVanAndDoors(String vanAndDoors) {
            this.vanAndDoors = vanAndDoors;
        }

        public String getGradeId() {
            return gradeId;
        }

        public void setGradeId(String gradeId) {
            this.gradeId = gradeId;
        }

        public String getGradeName() {
            return gradeName;
        }

        public void setGradeName(String gradeName) {
            this.gradeName = gradeName;
        }
    }


    public List<Car> getCarList() {
        return carList;
    }

    public void setCarList(List<Car> carList) {
        this.carList = carList;
    }

    public List<Rank> getRankList() {
        return rankList;
    }

    public void setRankList(List<Rank> rankList) {
        this.rankList = rankList;
    }

    public List<Type> getTypeList() {
        return typeList;
    }

    public void setTypeList(List<Type> typeList) {
        this.typeList = typeList;
    }
}
